package edu.fdzc.learn.service;

import edu.fdzc.learn.entity.Homework;

import java.util.List;

public interface HomeworkService {
    void add(Homework homework);

    void deleteById(int id);

    void deleteByIds(int[] ids);

    void update(Homework homework);

    Homework findByid(int id);

    List<Homework> findAll(int courseId);
}
